home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 2
/
AACD 2.iso
/
AACD
/
Magazine
/
GraphicsCards
/
StormMesa
/
src
/
vbfill.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-02-04
|
4KB
|
133 lines
/* $Id: vbfill.h,v 3.1 1998/02/20 04:53:07 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.0
* Copyright (C) 1995-1998 Brian Paul
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* $Log: vbfill.h,v $
* Revision 3.1 1998/02/20 04:53:07 brianp
* implemented GL_SGIS_multitexture
*
* Revision 3.0 1998/01/31 21:06:45 brianp
* initial rev
*
*/
#ifndef VBFILL_H
#define VBFILL_H
#include "types.h"
extern void gl_Normal3f( GLcontext *ctx, GLfloat nx, GLfloat ny, GLfloat nz );
extern void gl_Normal3fv( GLcontext *ctx, const GLfloat *normal );
extern void gl_Indexf( GLcontext *ctx, GLfloat c );
extern void gl_Indexi( GLcontext *ctx, GLint c );
extern void gl_Color3f( GLcontext *ctx,
GLfloat red, GLfloat green, GLfloat blue );
extern void gl_Color3fv( GLcontext *ctx, const GLfloat *c );
extern void gl_Color4f( GLcontext *ctx,
GLfloat red, GLfloat green,
GLfloat blue, GLfloat alpha );
extern void gl_Color4fv( GLcontext *ctx, const GLfloat *c );
extern void gl_Color4ub( GLcontext *ctx,
GLubyte red, GLubyte green,
GLubyte blue, GLubyte alpha );
extern void gl_Color4ubv( GLcontext *ctx, const GLubyte *c );
extern void gl_ColorMat3f( GLcontext *ctx,
GLfloat red, GLfloat green, GLfloat blue );
extern void gl_ColorMat3fv( GLcontext *ctx, const GLfloat *c );
extern void gl_ColorMat3ub( GLcontext *ctx,
GLubyte red, GLubyte green, GLubyte blue );
extern void gl_ColorMat4f( GLcontext *ctx,
GLfloat red, GLfloat green,
GLfloat blue, GLfloat alpha );
extern void gl_ColorMat4fv( GLcontext *ctx, const GLfloat *c );
extern void gl_ColorMat4ub( GLcontext *ctx,
GLubyte red, GLubyte green,
GLubyte blue, GLubyte alpha );
extern void gl_TexCoord2f( GLcontext *ctx, GLfloat s, GLfloat t );
extern void gl_TexCoord4f( GLcontext *ctx,
GLfloat s, GLfloat t, GLfloat r, GLfloat q );
/* GL_SGIS_multitexture */
extern void gl_MultiTexCoord4f( GLcontext *ctx, GLenum target,
GLfloat s, GLfloat t, GLfloat r, GLfloat q );
extern void gl_EdgeFlag( GLcontext *ctx, GLboolean flag );
extern void gl_vertex2f_nop( GLcontext *ctx, GLfloat x, GLfloat y );
extern void gl_vertex3f_nop( GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z );
extern void gl_vertex4f_nop( GLcontext *ctx,
GLfloat x, GLfloat y, GLfloat z, GLfloat w );
extern void gl_vertex3fv_nop( GLcontext *ctx, const GLfloat *v );
extern void gl_set_vertex_function( GLcontext *ctx );
extern void gl_set_color_function( GLcontext *ctx );
extern void gl_eval_vertex( GLcontext *ctx,
const GLfloat vertex[4], const GLfloat normal[3],
const GLubyte color[4], GLuint index,
const GLfloat texcoord[4] );
extern void gl_Begin( GLcontext *ctx, GLenum p );
extern void gl_End( GLcontext *ctx );
#endif